<!DOCTYPE html>
<html>

<head>
    <title>KA Admin 4.0 桌面设置</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
</head>

<body>
    <script src="static/js/ka.pc.js"></script>
    <script>
        localStorage.removeItem("SYS_OS_URL");
        setTimeout(function () {
            var sysOSUrl = localStorage.getItem("SYS_OS_URL");
            if (sysOSUrl != undefined && sysOSUrl != null && sysOSUrl != "") {
                window.location.href = sysOSUrl;
            } else {
                myFunction();
            }
        }, 1000);
        function myFunction() {
            var person = prompt("请输入你的服务器地址", "");
            if (person != null && person != "") {
                var url = person + "/login.html";
                localStorage.setItem("SYS_OS_URL_1", url);
                window.location.href = url;
            }
        }
    </script>
</body>

</html>